package com.ytjj.quartz.dao;

import com.ytjj.quartz.model.Recharge;
import com.ytjj.quartz.model.ReturnRechargeResponse;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 *
 *  *
 **/
public interface RechargeDao {

    List<Recharge> findFailRecharge();

    List<ReturnRechargeResponse> selectRechargeList();

    Integer getRechargeStatus(@Param("phone") String phone, @Param("orderNo") String orderNo);

    void updateChargeStatus(@Param("orderinfoId") Integer orderinfoId, @Param("rechargeStatus") Integer rechargeStatus);
}
